package model.map;

import model.entity.MovementType;

/**
 * This class represents a black tile that is not passable.
 * (e.g., border tiles).  Always returns a zero movement speed
 * and not passable.
 * @author Zachary
 */
public class BlackTerrain extends Terrain{

	public BlackTerrain(String graphicID) {
		super(graphicID);
	}

	@Override
	public int getSpeed(MovementType t) {
		return t.getMovementSpeedBlack();
	}

	@Override
	public boolean isPassable(MovementType t) {
		return t.isCanWalkOnBlack();
	}

}
